#include <FileHandler.h>
Public Member Functions | |
| FileHandler () | |
| bool | saveFile (CArchive &ar) |
| bool | loadFile (CArchive &ar) |
Private Member Functions | |
| void | saveRoadMap (string sub) |
| void | loadRoadMap (string sub) |
| int | stringToInteger (_bstr_t str) |
| double | stringToDouble (_bstr_t str) |
Private Attributes | |
| CMainFrame * | frame |
Definition at line 6 of file FileHandler.h.
|
|
Constructor for the FileHandler. Definition at line 7 of file FileHandler.cpp. References frame. |
|
|
The function responsible from loading the created 3D animation from an xml(objects on the scene) and .osg (Road node) formatted file.
Definition at line 11 of file FileHandler.cpp. References OSGWindows::clearCopiedObjects(), OSGWindows::clearCutObjects(), OSGWindows::clearFrames(), OSGWindows::clearSelectedObjects(), OSGWindows::getConstantRoot(), ObjectIDs, osgwind, and ph. |
|
|
The function is responsible from saving the Road map as an opensceengraph node to a .osg file.
Definition at line 711 of file FileHandler.cpp. References RoadMap::addRoadNode(), and theRoadMap. |
|
|
The function responsible from saving the created 3D animation to an xml(objects on the scene) and .osg (Road node) formatted file.
Definition at line 459 of file FileHandler.cpp. References OSGWindows::getFrames(), and osgwind. Referenced by CTraffEduDoc::Serialize(). |
|
|
The function is responsible from loading the Road map from an opensceengraph node (.osg) file.
Definition at line 707 of file FileHandler.cpp. References RoadMap::returnRoadNode(), and theRoadMap. |
|
|
Definition at line 53 of file FileHandler.h. |
|
|
Definition at line 42 of file FileHandler.h. |
|
|
Definition at line 7 of file FileHandler.h. Referenced by FileHandler(). |
1.4.6-NO